package com.ftg.learn.mapper;

import com.alibaba.nacos.client.naming.NacosNamingService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * openfeign -- (nacos)nacos-mybatisplus2 - TeacherController
 * 5a9241ce-b111-4ddc-a848-a467326e4eee.DEFAULT_GROUP.nacos-mybatisplus2.tea.teacher
 */
@FeignClient("nacos-mybatisplus2")
public interface CallTeacherController {

    @GetMapping("/tea/teacher")
    Map<String,Object> show();

}
